package com.skit.common.utils;

import android.widget.ImageView;

import androidx.databinding.BindingAdapter;

import com.bumptech.glide.Glide;

public class ImageViewBindingAdapter {
    @BindingAdapter("img_url")
    public static void loadImageFromUrl(ImageView imageView, String url) {
        Glide.with(imageView).load(url).into(imageView);
    }
}
